<!-- 这个是测试用的 HTML 文件 -->
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"></meta>
	<!-- 引入 ECharts 文件 -->
	<script src="../lib/echarts.min.js"></script>
	<script src="../lib/jquery.js"></script>
	<script src="../lib/require.js"></script>
	<script type="text/javascript" src="../js/m_data.js"></script>
	<link rel="stylesheet" type="text/css" href="../css/fontStyle.css"></link>
	<link rel="stylesheet" type="text/css" href="../css/show/display.css"></link>
</head>
<body>
	<!-- 为 ECharts 准备一个具备大小（宽高）的Dom -->
	<div id="main" style="width:100%;height:100%;"></div>
	<script type="text/javascript">
		m_data.init().then(function() {
			require.config({
				baseUrl:"../js/modules"
			});

			return new Promise((resolve, reject) => {
				requirejs(['text_and_image/module'],
					function(){resolve();}
				);
			});
		}).then(function() {
			m_data.m.addModuleOrder("Text And Image", "Text And Image");
			startRender();
		});
	</script>
	<script type="text/javascript">

var myChart = echarts.init(document.getElementById('main'));
var zr = myChart.getZr();

var _width = $("#main").width();
var _height = $("#main").height();

	</script>
</body>
</html>